package com.atguigu.gulimali.member;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 1.想要远程调用别的服务
 * 1）、引入我们的open-feign
 * 2）、编写一个接口，搞我们的springcloud这个接口要掉用我们远程服务
 */
@EnableFeignClients(basePackages = "com.atguigu.gulimali.member.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class GulimaliMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimaliMemberApplication.class, args);
    }

}
